<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
//    var reg = /http:\/\/.*?"/g;
//    var reg = /[^ab]frank/g;
//    var s = 'afrank bfrank cfrank';


    var reg = /[^0][0-9]{4,11}/;
    var s = '10000';




    var r = s.match(reg);
    console.log(r);
</script>
</body>
</html>